package com.hntest.entity;

import java.math.BigDecimal;

import com.hntest.util.BidConst;

/**
 * 用户的账户信息账户
 * 一个LoginInfo对应一个UserInfo对应一个Account
 * @author xu
 *
 */
public class Account extends BaseDomain{

	/**
	 * 
	 */
	private static final long serialVersionUID = -8720608503812630555L;
	private int version;
	private String tradePassword;//交易密码
	private BigDecimal usableAmount =BidConst.ZERO;//可用金额
	private BigDecimal freezedAmount =BidConst.ZERO;//冻结金额
	private BigDecimal unReceiveInterst =BidConst.ZERO;//账户待收利息
	private BigDecimal unReceivePrincipal =BidConst.ZERO;//账户待收本金
	private BigDecimal unReturnAmount =BidConst.ZERO;//账户待还金额
	private BigDecimal remainBorrowLimit =BidConst.ZERO;//账户剩余授信额度
	private BigDecimal borrowLimitAmount;//授信额度
	public int getVersion() {
		return version;
	}
	public void setVersion(int version) {
		this.version = version;
	}
	public String getTradePassword() {
		return tradePassword;
	}
	public void setTradePassword(String tradePassword) {
		this.tradePassword = tradePassword;
	}
	public BigDecimal getUsableAmount() {
		return usableAmount;
	}
	public void setUsableAmount(BigDecimal usableAmount) {
		this.usableAmount = usableAmount;
	}
	public BigDecimal getFreezedAmount() {
		return freezedAmount;
	}
	public void setFreezedAmount(BigDecimal freezedAmount) {
		this.freezedAmount = freezedAmount;
	}
	public BigDecimal getUnReceiveInterst() {
		return unReceiveInterst;
	}
	public void setUnReceiveInterst(BigDecimal unReceiveInterst) {
		this.unReceiveInterst = unReceiveInterst;
	}
	public BigDecimal getUnReceivePrincipal() {
		return unReceivePrincipal;
	}
	public void setUnReceivePrincipal(BigDecimal unReceivePrincipal) {
		this.unReceivePrincipal = unReceivePrincipal;
	}
	public BigDecimal getUnReturnAmount() {
		return unReturnAmount;
	}
	public void setUnReturnAmount(BigDecimal unReturnAmount) {
		this.unReturnAmount = unReturnAmount;
	}
	public BigDecimal getRemainBorrowLimit() {
		return remainBorrowLimit;
	}
	public void setRemainBorrowLimit(BigDecimal remainBorrowLimit) {
		this.remainBorrowLimit = remainBorrowLimit;
	}
	public BigDecimal getBorrowLimitAmount() {
		return borrowLimitAmount;
	}
	public void setBorrowLimitAmount(BigDecimal borrowLimitAmount) {
		this.borrowLimitAmount = borrowLimitAmount;
	}
	
	
}
